﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 资产财务信息变更数据AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class FAAssetAccountAlterObjAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public FAAssetAccountAlterObjAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					UsedLifeYear= 0; 
							Tax=0m; 
					CostWithoutTax=0m; 
					SalvageRatio=0m; 
					OriginalValue=0m; 
					Fee=0m; 
					AccumulateDepreciate=0m; 
					EstimateSalvageValue=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.FAAlterDocDetailAITDTO != null) 
			{
				this.FAAlterDocDetailAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.UseState != null) 
			{
				this.UseState.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public FAAssetAccountAlterObjAITDTOData(  ufida.u9.ait.openapi.FAAlterDocDetailAITDTOData fAAlterDocDetailAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData useState  , System.Int32 usedLifeYear  , System.Decimal tax  , System.Decimal costWithoutTax  , System.Decimal salvageRatio  , System.Decimal originalValue  , System.Decimal fee  , System.Decimal accumulateDepreciate  , System.Decimal estimateSalvageValue  )
		{
			initData();
			this.FAAlterDocDetailAITDTO = fAAlterDocDetailAITDTO;
			this.UseState = useState;
			this.UsedLifeYear = usedLifeYear;
			this.Tax = tax;
			this.CostWithoutTax = costWithoutTax;
			this.SalvageRatio = salvageRatio;
			this.OriginalValue = originalValue;
			this.Fee = fee;
			this.AccumulateDepreciate = accumulateDepreciate;
			this.EstimateSalvageValue = estimateSalvageValue;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 资产变更单行AITDTO
		/// 资产财务信息变更数据AITDTO.Misc.资产变更单行AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.FAAlterDocDetailAITDTOData m_fAAlterDocDetailAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.FAAlterDocDetailAITDTOData FAAlterDocDetailAITDTO
		{
			get	
			{	
				return m_fAAlterDocDetailAITDTO ;
			}
			set	
			{	
				m_fAAlterDocDetailAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 使用状态
		/// 资产财务信息变更数据AITDTO.Misc.使用状态
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_useState ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UseState
		{
			get	
			{	
				return m_useState ;
			}
			set	
			{	
				m_useState = value ;	
			}
		}
			
		

		/// <summary>
		/// 使用年限
		/// 资产财务信息变更数据AITDTO.Misc.使用年限
		/// </summary>
		private System.Int32 m_usedLifeYear ;
		[DataMember(IsRequired=false)]
		public System.Int32 UsedLifeYear
		{
			get	
			{	
				return m_usedLifeYear ;
			}
			set	
			{	
				m_usedLifeYear = value ;	
			}
		}
			
		

		/// <summary>
		/// 税额
		/// 资产财务信息变更数据AITDTO.Misc.税额
		/// </summary>
		private System.Decimal m_tax ;
		[DataMember(IsRequired=false)]
		public System.Decimal Tax
		{
			get	
			{	
				return m_tax ;
			}
			set	
			{	
				m_tax = value ;	
			}
		}
			
		

		/// <summary>
		/// 原未税成本
		/// 资产财务信息变更数据AITDTO.Misc.原未税成本
		/// </summary>
		private System.Decimal m_costWithoutTax ;
		[DataMember(IsRequired=false)]
		public System.Decimal CostWithoutTax
		{
			get	
			{	
				return m_costWithoutTax ;
			}
			set	
			{	
				m_costWithoutTax = value ;	
			}
		}
			
		

		/// <summary>
		/// 残值率
		/// 资产财务信息变更数据AITDTO.Misc.残值率
		/// </summary>
		private System.Decimal m_salvageRatio ;
		[DataMember(IsRequired=false)]
		public System.Decimal SalvageRatio
		{
			get	
			{	
				return m_salvageRatio ;
			}
			set	
			{	
				m_salvageRatio = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产原值
		/// 资产财务信息变更数据AITDTO.Misc.资产原值
		/// </summary>
		private System.Decimal m_originalValue ;
		[DataMember(IsRequired=false)]
		public System.Decimal OriginalValue
		{
			get	
			{	
				return m_originalValue ;
			}
			set	
			{	
				m_originalValue = value ;	
			}
		}
			
		

		/// <summary>
		/// 费用
		/// 资产财务信息变更数据AITDTO.Misc.费用
		/// </summary>
		private System.Decimal m_fee ;
		[DataMember(IsRequired=false)]
		public System.Decimal Fee
		{
			get	
			{	
				return m_fee ;
			}
			set	
			{	
				m_fee = value ;	
			}
		}
			
		

		/// <summary>
		/// 累计折旧
		/// 资产财务信息变更数据AITDTO.Misc.累计折旧
		/// </summary>
		private System.Decimal m_accumulateDepreciate ;
		[DataMember(IsRequired=false)]
		public System.Decimal AccumulateDepreciate
		{
			get	
			{	
				return m_accumulateDepreciate ;
			}
			set	
			{	
				m_accumulateDepreciate = value ;	
			}
		}
			
		

		/// <summary>
		/// 预估残值
		/// 资产财务信息变更数据AITDTO.Misc.预估残值
		/// </summary>
		private System.Decimal m_estimateSalvageValue ;
		[DataMember(IsRequired=false)]
		public System.Decimal EstimateSalvageValue
		{
			get	
			{	
				return m_estimateSalvageValue ;
			}
			set	
			{	
				m_estimateSalvageValue = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
